
import React, { PureComponent } from 'react'
import PageBackHeader from "@common/PageBackHeader";
import PageSubNav from "@common/PageSubNav";
class WarehouseApp extends PureComponent {

    render() {
        const { children } = this.props

        return (
            <div className="bilin-web">
            <PageBackHeader title="仓库" backUrl="/main"/>
            <PageSubNav
                navInfoList={[
                    {
                        path: `warehouse/manage`,
                        name: '仓库管理',
                    }, {
                        path: `warehouse/order`,
                        name: '发货管理',
                    }, {
                        path: `warehouse/refund`,
                        name: '退货管理',
                    }, {
                        path: `warehouse/stock`,
                        name: '库存管理',
                    }, {
                        path: `warehouse/purchase`,
                        name: '采购管理',
                    }, {
                        path: `warehouse/schedule`,
                        name: '调拨管理',
                    }, {
                        path: `warehouse/sales`,
                        name: '经销存报表',
                    }
                ]}
            />
            <div className="bilin-web-right sub">
                { children }
            </div>
        </div>
        )
    }
}

export default WarehouseApp